<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title></title>
	<!-- basic styles -->
	<hdjs/>
	<link href="__PUBLIC__/css/common.css" rel="stylesheet" />
	<link href="__PUBLIC__/css/bootstrap.min.css" rel="stylesheet" />
	<link href="__PUBLIC__/css/bootstrap-responsive.min.css" rel="stylesheet" />
	<link rel="stylesheet" href="__PUBLIC__/css/font-awesome.min.css" />
	<!--[if IE 7]>
	  <link rel="stylesheet" href="__PUBLIC__/css/font-awesome-ie7.min.css" />
	<![endif]-->
	<!-- page specific plugin styles -->
	
	<!-- ace styles -->
	<link rel="stylesheet" href="__PUBLIC__/css/ace.min.css" />
	<link rel="stylesheet" href="__PUBLIC__/css/ace-responsive.min.css" />
	<link rel="stylesheet" href="__PUBLIC__/css/ace-skins.min.css" />
	<!--[if lt IE 9]>
	  <link rel="stylesheet" href="__PUBLIC__/css/ace-ie.min.css" />
	<![endif]-->
</head>
<body>
	<div class="container-fluid" id="main-container">
		<div class="table-header">
			订单管理 | <a style="font-size:14px;" href="{|U:'Order/index'}">订单列表</a> > <a style="font-size:14px;" href="">查看订单</a><span class="fr" style="margin-right:50px;font-size:14px;">订单ID：{$order.oid}&nbsp&nbsp&nbsp&nbsp&nbsp总价：[<span style="color:red;font-size:14px;">￥{$order.ototal}</span>]</span>
		</div>
		<form action="" method="post">
			<div class="container-fluid" style="padding:0px;">
				<div class="row-fluid">
					<div class="span12">
						<table class="table table-bordered table-hover">
							<tr>
								<td  width="100" style="vertical-align: middle;">
									购货人信息
								</td>
								<td>
									<p><span>UID：</span>{$order.qm_user_uid}</p>
									<p><span>电话：</span>{$order.ophone_buyer}</p>
								</td>
							</tr>
							<tr class="success">
								<td style="vertical-align: middle;">
									收货人信息
								</td>
								<td>
									<p><span>姓名：</span>{$order.oconsignee}</p>
									<p><span>联系电话：</span>{$order.ophone_cnee}</p>
									<p><span>邮政编码：</span>{$order.ozipcode}</p>
									<p><span>收货地址：</span>{$order.oaddress}</p>
								</td>
							</tr>
							<tr class="error">
								<td style="vertical-align: middle;">
									商品信息
								</td>
								<td>
									<table class="table table-bordered goods_inf">
										<thead>
											<tr>
												<td style="width:280px;">商品名称</td>
												<td class="hidden-phone" style="width:60px;text-align: center;"> 购买数量</td>
												<td class="hidden-phone" style="width:60px;text-align: center;"> 单价(单位:元)</td>
												<td class="hidden-phone" style="width:60px;text-align: center;"> 小计(单位:元)</td>
												<td class="hidden-phone" style="width:100px;text-align: center;"> 规格(尺码,颜色)</td>
												<td class="hidden-phone" style="width:60px;text-align: center;"> 所属货品ID</td>
												<td class="hidden-phone" style="width:60px;text-align: center;"> 所属商品ID</td>
												<td class="hidden-phone" style="width:60px;text-align: center;"> 所属订单ID</td>
											</tr>
										</thead>							
										<tbody>
											<foreach from="$list" value="$value">
												<tr>
													<td style="width:280px;">{$value.name}</td>
													<td class="hidden-phone" style="width:60px;text-align: center;text-align: center;">{$value.lnumber}</td>
													<td class="hidden-phone" style="width:60px;text-align: center;">{$value.lprice}</td>
													<td class="hidden-phone" style="width:60px;text-align: center;">{$value.lmoney}</td>
													<td class="hidden-phone" style="width:100px;text-align: center;">{$value.combine}</td>
													<td class="hidden-phone" style="width:60px;text-align: center;">{$value.qm_combine_bid}</td>
													<td class="hidden-phone" style="width:60px;text-align: center;">{$value.qm_goods_gid}</td>
													<td class="hidden-phone" style="width:60px;text-align: center;">{$value.qm_order_oid}</td>
												</tr>
											</foreach>
										</tbody>
									</table>
									<script type="text/javascript">
										$('.goods_inf,.goods_inf tr').css('background', 'none');
									</script>
								</td>
							</tr>
							<tr class="warning">
								<td colspan="2">
									<input type="hidden" name='oid' value='{$order.oid}'/>
									<switch value='{$order.ostate}'>
										<case value='1'> <button class="btn btn-small" disabled="disabled"><i class="icon-credit-card"></i> 等待客户付款</button></case>
										<case value='2'> <input type="submit" class="btn btn-primary" value="立即发货" /> </case>
										<case value='3'> <button class="btn btn-small" disabled="disabled"><i class="icon-fighter-jet"></i> 等待客户收货</button> </case>
										<case value='4'> <button class="btn btn-small" disabled="disabled"><i class="icon-comment"></i> 等待客户评价</button> </case>
									</switch>
								</td>
							</tr>
						</table>
					</div>
				</div>
			</div>
		</form>
	</div><!-- #main-content -->
</body>
</html>